#ifndef SW_I2C_H
#define SW_I2C_H

#ifdef __cplusplus
extern "C" {
#endif

void i2c_init();
unsigned i2c_write_byte(int send_start, int send_stop, unsigned char byte);
unsigned char i2c_read_byte(int nak, int send_stop);

#ifdef __cplusplus
}
#endif

#endif
